home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 98
/
Skunkware 98.iso
/
src
/
mail
/
pine3.96.tar.gz
/
pine3.96.tar
/
pine3.96
/
pine
/
osdep
/
hostname
< prev
next >
Wrap
Text File
|
1993-07-15
|
428b
|
18 lines
/*----------------------------------------------------------------------
Call system gethostname
Args: hostname -- buffer to return host name in
size -- Size of buffer hostname is to be returned in
Result: returns 0 if the hostname is correctly set,
-1 if not (and errno is set).
----*/
hostname(hostname,size)
char *hostname;
int size;
{
return(gethostname(hostname, size));
}